import axios from 'axios'
const carousel = {
    //获取菜品
    getDishesList(data) {
        return axios({
            url: '/admin/findAllMenu',
            method: 'POST',
            data
        })
    },
    //修改菜品
    changeCarousel(data) {
        return axios({
            url: '/admin/updateMenu',
            method: 'POST',
            data
        })
    },
    //搜索菜品
    searchMenu(data){
        return axios({
            url: '/admin/searchMenu',
            method: 'POST',
            data
        }) 
    }
}
export default carousel;